export function parseStyleString( style, oStyle) {
  style
    .replace(/;\s*$/, '')
    .split(';')
    .forEach((chunk) => {
      const [attr, value] = chunk.split(':');
      oStyle[attr.trim().toLowerCase()] = value.trim();
    });
}
